<!--{template /module/admin/view/head}-->
<div id="left_layout">
	<div id="main_content" class="container-fluid">
		<!--{template /module/admin/view/head_nav}-->
		<div class="row-fluid">
			<div class="well widget">
				<div class="widget-header">
					<h3 class="title">{lang state.hitrank.view.header}</h3>
				</div>
				<div class="widget-content">
					<table class="table table-bordered table-hover" style="width:auto;">
						<thead>
							<tr>
								<th width="30">{lang state.hitrank.view.th.rank}</th>
								<th width="50">{lang state.hitrank.view.th.image}</th>
					            <th>{lang state.hitrank.view.th.title}/{lang state.hitrank.view.th.cname}</th>
					            <th width="80">{lang state.hitrank.view.th.ourprice}</th>
					            <th width="80">{lang state.hitrank.view.th.salednum}</th>
					            <th width="80">{lang state.hitrank.view.th.viewnum}</th>
							</tr>
						</thead>
						<tbody>
							<!--{loop $rank_list $key $item}-->
							<tr>
							<td class="f16">
				        		{echo $start + $key + 1;}、
				            </td>
				            <td>
					            <!--{if is_array($item[FILE01])}-->
					            <img src="{$item[FILE01][0]}" width="40" height="40" style="border:1px solid #ccc;"/>
					            <!--{else}-->
					            <img src="static/images/blank.gif" width="40" height="40" />
					            <!--{/if}-->
				            </td>
				            <td class="left">
					            <p class="text-success">{$item[TITLE]}</p>
					            <p class="text-info">{$item[CNAME]}</p>
				            </td>
				            <td>
				            	{$item[OURPRICE]}{lang state.hitrank.view.uint.yuan}
				            </td>
				            <td>
				            	{$item[SALEDNUM]}{lang state.hitrank.view.uint.jian}
				            </td>
				            <td>{$item[HITS]}</td>
				            </tr>
				            <!--{/loop}-->
				            <!--{if count($rank_list) == 0}-->
					        <tr>
					            <td colspan="6">
					                * {lang admin.operation.empty}
					            </td>
					        </tr>
					        <!--{/if}-->
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
</div>
<!--{template /module/admin/view/foot}-->